package com.supplychain.scm.core.rocketmq.bean;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author liyang
 * @version 1.0.0
 * @ClassName BaseMessageConsumer
 * @createTime 13:26:00 2023/03/14
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class BaseMessageConsumer implements Serializable {
    /**
     * 主题
     */
    private String topic;
    /**
     * 标签
     */
    private String tag;
    /**
     * 业务消息唯一标识key
     */
    private String uniqueKey;
    /**
     * 消费状态
     */
    private String status;
    /**
     * msgId
     */
    private String msgId;
    /**
     * 消息链路ID
     */
    private String messageLinkId;
    /**
     * 消息来源
     */
    private String messageOrigin;
    /**
     * 消费者来源
     */
    private String origin;
    /**
     * 是否存储
     */
    private Boolean ifStore;
}
